#include "asm/regdef.h"
#include "asm/asm.h"
#include "asm/context.h"
#include "inst_test.h"
#include "trap.h"
    .set noreorder
    .set noat 
    .global main 
    .text 

main:
    ###test inst
    TEST_SB(0xb4f00930, 0x7955c40a, 0x801016ec, 0x000061ec, 0x000061ec, 0xb4f0090a)
    TEST_SB(0x194331ca, 0x47657e06, 0x80105068, 0x00006868, 0x00006868, 0x19433106)
    TEST_SB(0x9efafca8, 0x25474bf0, 0x80109f20, 0x00003662, 0x00003660, 0x9ef0fca8)
    TEST_SB(0x9648ec44, 0x25165c46, 0x801094a4, 0x000001fc, 0x000001fc, 0x9648ec46)
    TEST_SB(0xc93c8d07, 0x607047b4, 0x8010f8f0, 0x000000fb, 0x000000f8, 0xb43c8d07)
    TEST_SB(0x2a18bf86, 0x33e94a7c, 0x801054b4, 0x00005210, 0x00005210, 0x2a18bf7c)

    HIT_GOOD_TRAP

inst_error:
    HIT_BAD_TRAP